import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './style.css';
import echarts from "echarts";
import china from 'echarts/map/json/china.json'
import world from 'echarts/map/json/world.json'
echarts.registerMap('china', china);
echarts.registerMap('world', world);
import router from './router'

Vue.use(ElementUI);
Vue.prototype.$echarts = echarts;

new Vue({
    el: '#app',
    router,
    render: h => h(App)
})
